import request from '@/utils/request'

// 订单详情列表
export function apiOrdersDetailLists(params: any) {
    return request.get({ url: '/orders.orders_detail/lists', params })
}

// 添加订单详情
export function apiOrdersDetailAdd(params: any) {
    return request.post({ url: '/orders.orders_detail/add', params })
}

// 编辑订单详情
export function apiOrdersDetailEdit(params: any) {
    return request.post({ url: '/orders.orders_detail/edit', params })
}

// 删除订单详情
export function apiOrdersDetailDelete(params: any) {
    return request.post({ url: '/orders.orders_detail/delete', params })
}

// 订单详情详情
export function apiOrdersDetailDetail(params: any) {
    return request.get({ url: '/orders.orders_detail/detail', params })
}